"use strict";
var SGFProp=
{
    //gameinfo
    ID_SZ:"SZ",ID_PL:"PL",
    ID_PW:"PW",ID_WR:"WR",ID_PB:"PB",ID_BR:"BR",
    ID_EV:"EV",ID_DT:"DT",ID_KM:"KM",ID_RE:"RE",
    ID_B:"B",ID_W:"W",ID_C:"C",
    ID_AB:"AB",ID_AW:"AW",ID_LB:"LB",ID_TR:"TR",ID_SQ:"SQ",
    COLOR_NONE:0,COLOR_BLACK:1,COLOR_WHITE:2,MAX_CHILDREN:10
};

var SGoButton=
{
    BUT_ID_VARIATION:"variation",
    BUT_ID_START : "start",
    BUT_ID_PREV  : "prev",
    BUT_ID_NEXT  : "next",
    BUT_ID_END   : "end",
    BUT_ID_AUTOPLAY  : "autoplay",
    BUT_ID_SHOWSGF: "showsgf",
    BUT_ID_CONFIG   : "sgo_config_but",
    buttonList:null,
    getButtonList:function(){
        if(this.buttonList==null)
        {
            this.buttonList=[
                {btype:this.BUT_ID_START, game:"{", problem:"9"},
                {btype:this.BUT_ID_PREV,  game:"&lt;", problem:"&lt;"},
                {btype:this.BUT_ID_NEXT,  game:"&gt;", problem:"&gt"},
                {btype:this.BUT_ID_END,   game:"}", problem:"z"},
                {btype:this.BUT_ID_AUTOPLAY,play:"1", pause:"2"},                
            ];
        }
        return this.buttonList;
    }
};

